<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        a{
            text-decoration: none;
        }
        p{
            background-color: green;
            text-align: right;
        }
        .box{
            width: 520px;
            height: 280px;
            background-color: red;
            margin: 100px auto;
            position: relative;
        }
        .arr-l,.arr-r{
            display: inline-block;
            position: absolute;
            top: 50%;
            margin-top: -15px;
            width: 20px;
            height: 30px;
            line-height: 30px;
            background-color: rgba(0,0,0,0.2);
            color: rgb(255, 255, 255);
        }
        .arr-l{
            left: 0;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px; 
        }
        .arr-r{
            right: 0;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
            text-align: right;
        }
    </style>
</head>
<body>
    <div class="box">
        <a href="#" class="arr-l"> &lt; </a>
        <a href="#" class="arr-r"> &gt; </a>
        <img src="img/taobao.jpg" alt="">
    </div>
    <p>
        我是一个段落我是一个段落我是一个段落
    </p>
</body>
</html>